<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<meta content=" " name="keywords">
			<meta content=" " name="description">
				<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div style="margin: auto; width: 985px;">
			<div class="MemberCenter">
				<div class="siteparttitle">
					<div class="gender"></div>
					<div class="info">
						<strong>您好:${member.name}</strong>&nbsp;&nbsp;[ 会员中心]&nbsp;&nbsp;[
						<a href="logout.html" class="lnk">退出</a>]
					</div>
					<div class="time"></div>
					<div style="clear: both;"></div>
				</div>

				<%@ include file="/jsp/front/member/memberNav.jsp"%>

				<div class="MemberMain">
					<div style="margin-right: 175px;">
						<div class="title">
							兑换优惠券
						</div>
						<table width="100%" cellspacing="0" cellpadding="0" border="0" class="memberlist ">
							<thead>
								<tr>
									<th>
										优惠券
									</th>
									<th>
										所需积分
									</th>
									<th>
										起始时间
									</th>
									<th>
										截止时间
									</th>
									<th>
										操作
									</th>
								</tr>
							</thead>
							<c:forEach items="${marketCouponss}" var="coupon" varStatus="index">

								<tr>
									<td>
										${coupon.couponName}
									</td>
									<td>
										${coupon.couponPoint}
									</td>
									<td>
										${coupon.pmtTimeBeginString}
									</td>
									<td>
										${coupon.pmtTimeEndString}
									</td>
									<td>
										<a style="color:#CC0000;" onclick="return confirm('确定兑换吗?');" href="member_coupon_change.html?couponId=${coupon.couponId}">兑换</a>
									</td>
								</tr>

							</c:forEach>
						</table>
						<div class="clearfix">
							${pagerString }
						</div>
					</div>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript">	 
			document.getElementById('mc_point_change_coupon').className = 'current';
		</script>
	</body>
</html>